package com.base.self.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 *
 * </p>
 *
 * @author XiFYuW
 * @since 2020-11-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ToString
@ApiModel(value="PtCurrent对象", description="")
public class PtCurrent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "团1ID")
    private String sub1;

    @ApiModelProperty(value = "团2ID")
    private String sub2;

    @ApiModelProperty(value = "团3ID")
    private String sub3;

    @ApiModelProperty(value = "团4ID")
    private String sub4;

    @ApiModelProperty(value = "商品id")
    private String sid;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty("用户头像")
    @TableField(exist = false)
    private String userImg;
    @ApiModelProperty("成团时间")
    @TableField(exist = false)
    private Date successTime;

    public PtCurrent() {
    }

    public PtCurrent(Integer id, String sub1, String sub2, String sub3, String sub4, String sid, Date createTime, String orderNo, String userImg) {
        this.id = id;
        this.sub1 = sub1;
        this.sub2 = sub2;
        this.sub3 = sub3;
        this.sub4 = sub4;
        this.sid = sid;
        this.createTime = createTime;
        this.orderNo = orderNo;
        this.userImg = userImg;
    }
}
